package com.xinghou.platform.dao.mange.service;


import java.util.List;

import org.springframework.dao.DataAccessException;

import com.xinghou.platform.model.main.Vest;



public interface VestDAOService {

	public int getVest(String vestName ,String vestPass) throws DataAccessException;

	public int getVestId(String vestName)throws DataAccessException;

	/**
	 * 得到所有运营账号
	 * @param vestid 为-1时查询全部
	 * @return
	 * @throws DataAccessException
	 */
	public List<Vest> getAllVests() throws DataAccessException;

}
